// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_PROD_PRODUCT_TECHNIC
// * CreateDate    : 2012-09-26 18:01:14
// * Creater       : CodeSmith
// * LastChangeDate: 2012-09-26 18:01:14
// * LastChanger   : 2012-09-26 18:01:14
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
    [Serializable]
    public partial class ProdProductTechnicTable : TableInfo
    {
        public const string C_TableName = "PROD_PRODUCT_TECHNIC";

        public const string C_PRODUCT_TECHNIC_ID = "PRODUCT_TECHNIC_ID";
        public const string C_PLAN_ORDER_ITEM_ID = "PLAN_ORDER_ITEM_ID";
        public const string C_TECHNIC_ID = "TECHNIC_ID";
        public const string C_GROUP_ID = "GROUP_ID";
        public const string C_SEQUENCE = "SEQUENCE";
        public const string C_QTY = "QTY";
        public const string C_PRICE = "PRICE";
        public const string C_GROUP_PERSON = "GROUP_PERSON";
        public const string C_PLAN_WORKING_HOURS = "PLAN_WORKING_HOURS";
        public const string C_COST = "COST";
        public const string C_COEFFICIENT = "COEFFICIENT";
        public const string C_PUR_APPLICATION_ITEM_ID = "PUR_APPLICATION_ITEM_ID";
        public const string C_DELIVERY_DATE = "DELIVERY_DATE";
        public const string C_PLAN_STARTTIME = "PLAN_STARTTIME";
        public const string C_REMARK = "REMARK";

        public ProdProductTechnicTable()
        {
            _tableName = "PROD_PRODUCT_TECHNIC";
        }

        protected static ProdProductTechnicTable _current;
        public static ProdProductTechnicTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }

        private static void Initial()
        {
            _current = new ProdProductTechnicTable();

            _current.Add(C_PRODUCT_TECHNIC_ID, new ColumnInfo(C_PRODUCT_TECHNIC_ID, "ProductTechnicId", true, typeof(string)));
            _current.Add(C_PLAN_ORDER_ITEM_ID, new ColumnInfo(C_PLAN_ORDER_ITEM_ID, "PlanOrderItemId", false, typeof(string)));
            _current.Add(C_TECHNIC_ID, new ColumnInfo(C_TECHNIC_ID, "TechnicId", false, typeof(string)));
            _current.Add(C_GROUP_ID, new ColumnInfo(C_GROUP_ID, "GroupId", false, typeof(string)));
            _current.Add(C_SEQUENCE, new ColumnInfo(C_SEQUENCE, "Sequence", false, typeof(int)));
            _current.Add(C_QTY, new ColumnInfo(C_QTY, "Qty", false, typeof(decimal)));
            _current.Add(C_PRICE, new ColumnInfo(C_PRICE, "Price", false, typeof(decimal)));
            _current.Add(C_GROUP_PERSON, new ColumnInfo(C_GROUP_PERSON, "GroupPerson", false, typeof(string)));
            _current.Add(C_PLAN_WORKING_HOURS, new ColumnInfo(C_PLAN_WORKING_HOURS, "PlanWorkingHours", false, typeof(decimal)));
            _current.Add(C_COST, new ColumnInfo(C_COST, "Cost", false, typeof(decimal)));
            _current.Add(C_COEFFICIENT, new ColumnInfo(C_COEFFICIENT, "Coefficient", false, typeof(decimal)));
            _current.Add(C_PUR_APPLICATION_ITEM_ID, new ColumnInfo(C_PUR_APPLICATION_ITEM_ID, "PurApplicationItemId", false, typeof(string)));
            _current.Add(C_DELIVERY_DATE, new ColumnInfo(C_DELIVERY_DATE, "DeliveryDate", false, typeof(DateTime)));
            _current.Add(C_PLAN_STARTTIME, new ColumnInfo(C_PLAN_STARTTIME, "PlanStarttime", false, typeof(DateTime)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK, "Remark", false, typeof(string)));

        }

        public ColumnInfo PRODUCT_TECHNIC_ID
        {
            get { return this[C_PRODUCT_TECHNIC_ID]; }
        }

        public ColumnInfo PLAN_ORDER_ITEM_ID
        {
            get { return this[C_PLAN_ORDER_ITEM_ID]; }
        }

        public ColumnInfo TECHNIC_ID
        {
            get { return this[C_TECHNIC_ID]; }
        }

        public ColumnInfo GROUP_ID
        {
            get { return this[C_GROUP_ID]; }
        }

        public ColumnInfo SEQUENCE
        {
            get { return this[C_SEQUENCE]; }
        }

        public ColumnInfo QTY
        {
            get { return this[C_QTY]; }
        }

        public ColumnInfo PRICE
        {
            get { return this[C_PRICE]; }
        }

        public ColumnInfo GROUP_PERSON
        {
            get { return this[C_GROUP_PERSON]; }
        }

        public ColumnInfo PLAN_WORKING_HOURS
        {
            get { return this[C_PLAN_WORKING_HOURS]; }
        }

        public ColumnInfo COST
        {
            get { return this[C_COST]; }
        }

        public ColumnInfo COEFFICIENT
        {
            get { return this[C_COEFFICIENT]; }
        }

        public ColumnInfo PUR_APPLICATION_ITEM_ID
        {
            get { return this[C_PUR_APPLICATION_ITEM_ID]; }
        }

        public ColumnInfo DELIVERY_DATE
        {
            get { return this[C_DELIVERY_DATE]; }
        }

        public ColumnInfo PLAN_STARTTIME
        {
            get { return this[C_PLAN_STARTTIME]; }
        }

        public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }



    }
}

